package com.xm.utils;

/**
 * @author 黄家伟
 * @mail huangwei_xm@163.com
 * @copyright <a href="http://www.huangwei.work">oneself</a>
 * @since 2021/4/24 21:16
 * @version v1.0.0
 * @description StringUtil描述如下
 * <pre>
 *    字符串工具类
 * </pre>
 */
public class StringUtil {
    static final String noneStr = "";
    public static boolean isEmpty(String val) {
        return null == val || noneStr.equals(val);
    }
    public static boolean isNotEmpty(String val) {
        return !isEmpty(val);
    }
}
